home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 December
/
PCWorld_2007-12_cd.bin
/
domacnost a kancelar
/
autoit
/
autoit-v3-setup.exe
/
Examples
/
Helpfile
/
_IETableGetCollection.au3
< prev
next >
Wrap
Text File
|
2007-09-08
|
872b
|
20 lines
; *******************************************************
; Example 1 - Open a browser with the table example, get a reference to the first table
; on the page (index 0) and read its contents into a 2-D array
; *******************************************************
;
#include <IE.au3>
$oIE = _IE_Example ("table")
$oTable = _IETableGetCollection ($oIE, 0)
$aTableData = _IETableWriteToArray ($oTable)
; *******************************************************
; Example 2 - Open a browser with the table example, get a reference to the
; table collection and display the number of tables on the page
; *******************************************************
;
#include <IE.au3>
$oIE = _IE_Example ("table")
$oTable = _IETableGetCollection ($oIE)
$iNumTables = @extended
MsgBox(0, "Table Info", "There are " & $iNumTables & " tables on the page")